package cn.tedu.ivos.user.pojo.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liyuehui
 * @time 2024/7/4 9:58
 */
@Data
public class UserVO {
    @ApiModelProperty(value = "用户id", example = "101")
    private Long id;
    @ApiModelProperty(value = "用户名", example = "tom")
    private String username;
    @ApiModelProperty(value = "密码", example = "123456")
    // @JsonIgnore表示不将此属性序列化到JSON中
    @JsonIgnore
    private String password;
    @ApiModelProperty(value = "上级id", example = "1")
    private Long parentId;
}
